<?php
namespace Admin\Controller;
use Think\Controller;

/**
 * Class SQLogController
 * @package Admin\Controller
 */
class OperatorlogController extends AbstractController {
	
    public $SQLOGBD = "operatorlog";
    
    protected $Form;
    
    protected function  _initialize(){
    	$this->Form = D('Operatorlog');
    }
	
	public function index(){
    	$res = $this->Form->MyshowList();
		$this->assign("list",$res['list']);
    	$this->assign("page",$res['page']);
    	$this->display();
    }
    
    public function delete(){
    	$res = $this->Form->MydeletP();
    	if($res['state']){
			$this->success($res['msg']);
		}else{
			$this->error($res['msg']);
		}
    }
	
}